package com.ruoyi.system.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 项目记录DTO
 */
@Data
public class ProjectRecordDTO {

    private Long id;

    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @NotBlank(message = "记录内容不能为空")
    private String content;

    private Integer progress;

    private Integer followStatus;

    private LocalDateTime createTime;

    private String createName;
}